package com.func.infrastructure.persistent.po.activity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @version 1.0
 * @className RaffleActivityAccount
 * @description 抽奖账户
 * @author: func
 * @date 2025/3/6 22:36
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RaffleActivityAccount {
    /** 自增ID*/
    private Long id;
    /** 用户ID*/
    private String userId;
    /** 活动ID*/
    private Long activityId;
    /** 总次数*/
    private Integer totalCount;
    /** 总次数-剩余*/
    private Integer totalCountSurplus;
    /** 日次数*/
    private Integer dayCount;
    /** 日次数-剩余*/
    private Integer dayCountSurplus;
    /** 月次数*/
    private Integer monthCount;
    /** 月次数-剩余*/
    private Integer monthCountSurplus;
    /** 创建时间*/
    private Date createTime;
    /** 更新时间*/
    private Date updateTime;
}
